<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE HTML>
<ui:composition template="/dinamic/template/template.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

	<ui:define name="conteudo">
		<h:form>

			<p:panel header="FUNCIONARIO">
				<div align="center">
					<h:panelGrid columns="2" cellpadding="5">
						<h:outputText styleClass="name"
							value="#{mensagem['usuario.email']}" />
						<h:outputText styleClass="value"
							value="#{testeManagedBean.funcionario.email}"
							label="text" />

						<h:outputText styleClass="name" value="Nome: " />
						<h:outputText styleClass="value"
							value="#{testeManagedBean.funcionario.nome}"
							label="text" />

						<h:outputText styleClass="name" value="Telefone: " />
						<h:outputText styleClass="value"
							value="#{testeManagedBean.funcionario.telefone}"
							label="text" />

						<h:outputText styleClass="name" value="Celular: " />
						<h:outputText styleClass="value"
							value="#{testeManagedBean.funcionario.celular}"
							label="text" />

						<h:outputLabel styleClass="name"
							value="#{mensagem['usuario.departamento']}:" />
						<h:outputText styleClass="value"
							value="#{testeManagedBean.funcionario.departamento}"
							label="text" />

						<h:outputLabel styleClass="name"
							value="#{mensagem['hora.trabalho']}:" />
						<h:outputText styleClass="value"
							value="#{testeManagedBean.funcionario.horarioTrabalho}"
							label="text" />
					</h:panelGrid>

				</div>
			</p:panel>
			<p:separator />
			<div style="margin-left: 5px">

				<p:commandButton value="#{mensagem['botao.retornar']}"
					action="#{detalhaFuncionarioManagedBean.paginaInicial()}"
					ajax="false"
					immediate="true" 
					/>

			</div>
		</h:form>
	</ui:define>
</ui:composition>